package com.xunyoutest.shop.config;

import com.xunyoutest.shop.utils.PreferencesUtils;

/**
 * Created by admin on 2018/7/9.
 */

public class Constants {
    //微信
    public static final String WX_APP_ID = "wx504f95e9936b9d73";
    public static final String WX_APP_SECRET = "ccf5f6a464f05720e10fe257bdf21adc";

    public static final String WX_APP_SIGN= "ccf5f6a464f05720e10fe257bdf21adc";
    public static final String WX_API_SECRET = "ccf5f6a464f05720e10fe257bdf21adc";
    //QQ
    public static final String QQ_APP_ID = "101885020";
    public static final String QQ_APP_KEY = "b962e29d98b1aee9dc2f142a5d4928f0";
    //友盟
    public static final String U_MENG_KEY = "5eb65420978eea078b7e9a9f";

    //u，k
    public static final String PERM_ID = "perm_id";
    public static final String PERM_KEY = "perm_key";

    /*------------------------------------公用获取U，key的方法--------------------------------------*/
    public static String getPermId() {
        return (String) PreferencesUtils.get(PERM_ID, "");
    }

    public static void setPermId(String permId){
        PreferencesUtils.put(Constants.PERM_ID,permId);
    }

    public static String getPermKey() {
        return (String) PreferencesUtils.get(PERM_KEY, "");
    }

    public static void setPermKey(String permKey){
        PreferencesUtils.put(Constants.PERM_KEY,permKey);
    }
    /*------------------------------------公用获取U，key的方法--------------------------------------*/
}
